import React, { Component } from 'react';
import './section-title.css';
class Title extends Component {
	static defaultProps = {
		title: "no title",
		subtitle: "no subtitle",
	}

	render() {
		var t1 = this.props.title;
		var t2 = this.props.subtitle;
		var content = ( <div>
			<h1 className="t1">{t1}</h1>
			<h3 className="t2">{t2}</h3>
		</div>);

		return(
			<div className="title">{content}</div>
		)
	}

}

export default Title;